﻿using SXFramWork.Core;
using SXFramWork.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SXFramWork.Repository
{
    public interface ISysUserConfigRepository : IRepository<SysUserConfigEntity>
    {
        /// <summary>
        /// 获得账户对应得系统配置 Web端
        /// </summary>
        /// <param name="uid"></param>
        /// <returns></returns>
        Task<SysUserConfigEntity> GetByUserIdAsync(string uid);
        /// <summary>
        /// 更新皮肤
        /// </summary>
        /// <param name="uid"></param>
        /// <param name="skin"></param>
        /// <returns></returns>
        Task<bool> UpdateConfig(string uid, string skin);
    }
}
